package com.rdxer.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Data
@Table
@AllArgsConstructor
@NoArgsConstructor
@Builder
// 答卷答题表
public class Answer {
    @Id
    @Column(length = 100)
    private String id;
    @Column(length = 100)
    private String answerSheetId;
    @Column(length = 100)
    private String paperQuestionId;


    private Boolean correct;
    private Double score;

    private String content;
    private Long startDate;
    private Long endDate;
    private Long duration;

}
